package com.itheima.factory;

import com.itheima.service.AccountService;
import com.itheima.service.impl.AccountServiceImpl;

/**
 * @author zhangyan
 * @date 2021/1/31 14:48
 * 静态工厂
 */
public class StaticBeanFactory {

    public static AccountService createAccountService(){

        return new AccountServiceImpl();
    }
}